package Day16.one;

/**
 * @author HYHwtx
 * @version 1.0
 * @date 2022/2/23 14:48
 */
public class Manager extends Employee{
    private double bonus;


    public Manager(String name, int id, double salary) {
        super(name, id, salary);
    }

    public double getBonus(int i) {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public void work(){
        System.out.println("经理"+getName()+"工作中");
    }
}
